import { get } from 'lodash';
import API_SERVER from '../../env';

function getApiServer(environment) {
  let apiServer = get(API_SERVER, environment, API_SERVER.pro);
  console.log(`=====> environment = ${environment} ; apiServer = ${apiServer}`);
  return apiServer;
}

export default getApiServer;
